package cn.baidu.homework4;

public class Test {

	public static void main(String[] args) {
		Army army=new Army(3);
		army.addWeapon(new Tank());
		army.attackAll(new Tank());
		army.attackAll(new Tank());
		army.moveAll(new Tank());
		army.attackAll(new Ship());
		army.moveAll(new Ship());
		army.moveAll(new Fly());
		army.attackAll(new Fly());
		

	}

}
